<!DOCTYPE html>
<html>
<head>
<title>产品管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet"
	href="/resources/common/css/default/control-manage.css" />
<style>
.pointer{cursor: pointer;}
.font{font-size: 12px;}
.hide{display: none;}
.gray{color: #666666;}
.bold{font-weight: bold;}
.block{display: block;}
.width200{width: 250px !important;}
.marginright22{margin-right: 22px;}
.disbutton{
background-position: -1px -1px;
color: #ffffff;
font-weight: bold;
line-height: 24px;
text-align: center;
vertical-align: middle;
border: none;
width: 70px !important;
height: 28px;
}
</style>
</head>
<body>
	<div class="Mheader">
		<ul>
			<li>内容管理</li>
			<li class="M_sep">&gt;</li>
			<li>多源视频同步</li>
		</ul>
	</div>
	<div class="Mul font">
		<span class="Mspan-span1"> 
			<span class="left">来源：</span>
			<span class="right"> 
				<select id="contentProvider" name="contentProvider">
				</select>
			</span>
		</span>
	</div>
	<div class="Mul font">
		<span class="Mspan-span1 marginright22"> 
			<span class="left">同步日期：</span>
			<span class="right"> 
				<input type="text" id="syncDate" name="syncDate" maxlength="25" /> 
			</span>
		</span>
		<span class="Mspan-span1">
			<span class="left" >&nbsp;</span>
		    <span class="right"><input id="syncByDate" type="button" class="Mbutton3 pointer" value="同步"  /></span>
	    </span>
	    <span class="syncByDateType Mspan-span1 hide">
			<span class="left" >&nbsp;</span>
		    <span class="right gray">该来源不支持此同步方式</span>
	    </span>
	</div>
	<div class="Mul font">
		<p class="bold">同步指定合集(多个合集ID,请用英文逗号分开)</p>
		<span class="Mspan-span1"> 
			<span class="left"></span>
			<span class="right">
				<input type="hidden" id="videoType" name="videoType" value="2" />  
				视频合集ID：
				<!-- 
				<select id="videoType" name="videoType">
					<option value="1">视频ID</option>
					<option value="2">视频合集ID</option>
				</select>
				 -->
			</span>
		</span>
		<span class="Mspan-span1">
			<span class="left" ></span>
			<span class="right">
				<input type="text" id="videoId" name="videoId" maxlength="500" class="width200"/>						
			</span>
	    </span>
		<span class="Mspan-span1">
			<span class="left" >&nbsp;</span>
		    <span class="right"><input id="syncByMzId" type="button" class="Mbutton3 pointer" value="同步"  /></span>
	    </span>
	    <span class="syncByIdType Mspan-span1 hide">
			<span class="left" >&nbsp;</span>
		    <span class="right gray">该来源不支持此同步方式</span>
	    </span>
	</div>
	<div class="Mul font">
		<p class="bold">同步指定自频道</p>
		<span class="Mspan-span1"> 
			<span class="left"></span>
			<span class="right">
				自频道ID：
				<!-- <input type="hidden" id="userChannelType" name="userChannelType" value="1" /> -->
				<select id="userChannelType" name="userChannelType">
					<option value="0">MEIZU</option>
					<option value="16" selected="selected">YOUKU</option>
				</select>
			</span>
		</span>
		<span class="Mspan-span1">
			<span class="left" ></span>
			<span class="right">
				<input type="text" id="userChannelId" name="userChannelId" maxlength="500" class="width200"/>						
			</span>
	    </span>
		<span class="Mspan-span1">
			<span class="left" >&nbsp;</span>
		    <span class="right"><input id="syncUserChannelById" type="button" class="Mbutton3 pointer" value="同步"  /></span>
	    </span>
	    <span class="syncUserChannelByIdType Mspan-span1 hide">
			<span class="left" >&nbsp;</span>
		    <span class="right gray">该来源不支持此同步方式</span>
	    </span>
	</div>
	<div class="Mul widthauto margin-right20" id="filterDiv">
		<ul>
			<li>
				<span class="Mspan-span1">
					<span class="left" >关键字：</span>
					<span class="right">
						<input type="text" id="keyword" name="keyword" maxlength="50"/>
						<input type="hidden" id="cp" name="cp" value="0" />							
					</span>
			    </span>
			    <span class="Mspan-span1"> 
					<span class="left"></span>
					<span class="right"> 
						<select id="searchType" name="searchType">
							<option value="1">视频名称</option>
							<option value="2">导演</option>
							<option value="3">主演</option>
						</select>
					</span>
				</span>
			    <span class="Mspan-span1">
					<span class="left" >&nbsp;</span>
				    <span class="right"><input id="btnSearch" type="button" class="Mbutton3 pointer" value="搜索"  /></span>
				    <span class="right"><input id="syncBySearch" type="button" class="Mbutton3 pointer" value="同步全部"  /></span>
			    </span>
			    <span class="syncBySearchType Mspan-span1 hide">
				<span class="left" >&nbsp;</span>
		    	<span class="right gray">该来源不支持此同步方式</span>
	    		</span>
			</li>
		</ul>
	</div>
	<div class="M-listRegion">			     
		<table id="GridData">
		</table>
	</div>
	<script type="text/javascript" src="/resources/common/js/MZPub-video.js"></script>
	<script type="text/javascript" src="/resources/video/js/manage/util/VideoResources.js"></script>
	<script type="text/javascript" src="/resources/video/js/manage/sync/sync-multisource.js"></script>
</body>
</html>